import { createStore } from "redux";
import reduders from './reducers';
import { composeWithDevTools } from 'redux-devtools-extension'
// console.log(process.env.NODE_ENV, ';;;;;;')
const store =
    // 进程环境的node环境 
    process.env.NODE_ENV === 'development'
        ? createStore(reduders, composeWithDevTools())
        : createStore(reduders);

export default store;